package com.ship.boats.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;

import java.util.Date;

/**
 * <b>OilinessPrice</b>
 *
 * @description: OilinessPrice <br>
 * @date: 2024/3/19 08:56 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class OilinessPrice {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "curve主键")
    private Integer curveUid;

    @ApiModelProperty(value = "指数名称")
    private String curveName;

    @ApiModelProperty(value = "结算时间")
    private Date curveDate;

    @ApiModelProperty(value = "价格")
    private Double Value;

    @ApiModelProperty(value = "单位")
    private String oilinessUnit;

    @ApiModelProperty(value = "周期")
    private String periodicity;

    @ApiModelProperty(value = "远期标识")
    private String settleFwd;

    @ApiModelProperty(value = "")
    private Integer rangeSeq;

    @ApiModelProperty(value = "周期开始时间")
    private Date rangeBegDate;

    @ApiModelProperty(value = "周期结束时间")
    private Date rangeEndDate;

    @ApiModelProperty(value = "数据来源")
    private String dataSource;

    @ApiModelProperty(value = "币种")
    private String currency;

    @ApiModelProperty(value = "可用状态：0-不可用，1-可用")
    private String enable;

    @ApiModelProperty(value = "涨跌幅度")
    private String rangeFluctuation;

    @ApiModelProperty(value = "创建用户")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改用户")
    private String updateUser;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCurveName() {
        return curveName;
    }

    public void setCurveName(String curveName) {
        this.curveName = curveName;
    }

    public Date getCurveDate() {
        return curveDate;
    }

    public void setCurveDate(Date curveDate) {
        this.curveDate = curveDate;
    }

    public Double getValue() {
        return Value;
    }

    public void setValue(Double value) {
        Value = value;
    }

    public String getOilinessUnit() {
        return oilinessUnit;
    }

    public void setOilinessUnit(String oilinessUnit) {
        this.oilinessUnit = oilinessUnit;
    }

    public String getRangeFluctuation() {
        return rangeFluctuation;
    }

    public void setRangeFluctuation(String rangeFluctuation) {
        this.rangeFluctuation = rangeFluctuation;
    }

    public Integer getCurveUid() {
        return curveUid;
    }

    public void setCurveUid(Integer curveUid) {
        this.curveUid = curveUid;
    }

    public String getPeriodicity() {
        return periodicity;
    }

    public void setPeriodicity(String periodicity) {
        this.periodicity = periodicity;
    }

    public String getSettleFwd() {
        return settleFwd;
    }

    public void setSettleFwd(String settleFwd) {
        this.settleFwd = settleFwd;
    }

    public Integer getRangeSeq() {
        return rangeSeq;
    }

    public void setRangeSeq(Integer rangeSeq) {
        this.rangeSeq = rangeSeq;
    }

    public Date getRangeBegDate() {
        return rangeBegDate;
    }

    public void setRangeBegDate(Date rangeBegDate) {
        this.rangeBegDate = rangeBegDate;
    }

    public Date getRangeEndDate() {
        return rangeEndDate;
    }

    public void setRangeEndDate(Date rangeEndDate) {
        this.rangeEndDate = rangeEndDate;
    }

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", curveUid").append(curveUid);
        sb.append(", curveName=").append(curveName);
        sb.append(", curveDate=").append(curveDate);
        sb.append(", Value=").append(Value);
        sb.append(", oilinessUnit=").append(oilinessUnit);
        sb.append(", rangeFluctuation=").append(rangeFluctuation);
        sb.append(", periodicity=").append(periodicity);
        sb.append(", settleFwd=").append(settleFwd);
        sb.append(", rangeSeq=").append(rangeSeq);
        sb.append(", rangeBegDate=").append(rangeBegDate);
        sb.append(", rangeEndDate=").append(rangeEndDate);
        sb.append(", currency=").append(currency);
        sb.append(", dataSource=").append(dataSource);
        sb.append(", enable=").append(enable);
        sb.append(", createUser=").append(createUser);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateUser=").append(updateUser);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
